//
// @Auther: by wujehy 
// @Email:wujehy@qq.com
// @Data:20-4-23
// @Time:下午3:35
//

#ifndef TESTSERVER_CACHEMANAGER_H
#define TESTSERVER_CACHEMANAGER_H

/**
 * @brief 上下文储存
 */
#include <handy/handy.h>
#include <iostream>
#include <map>

using namespace handy;

class CacheManager
{
public:
    CacheManager();

    virtual ~CacheManager();

    std::map<std::string, TcpConnPtr> deviceTokenMap;

    std::map<std::string, TcpConnPtr> taskCodeMap;


    static CacheManager *GetInstance();

};


#endif //TESTSERVER_CACHEMANAGER_H
